package com.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractBaseDept entity provides the base persistence definition of the
 * BaseDept entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractBaseDept implements java.io.Serializable {

	// Fields

	private String deptId;
	private String deptName;
	private String deptDes;
	private Date createDate;
	private String createUserId;
	private Date modifyDate;
	private String modifyUserId;
	private String parentDeptId;
	private Set baseRoles = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractBaseDept() {
	}

	/** minimal constructor */
	public AbstractBaseDept(String deptId) {
		this.deptId = deptId;
	}

	/** full constructor */
	public AbstractBaseDept(String deptId, String deptName, String deptDes,
			Date createDate, String createUserId, Date modifyDate,
			String modifyUserId, String parentDeptId, Set baseRoles) {
		this.deptId = deptId;
		this.deptName = deptName;
		this.deptDes = deptDes;
		this.createDate = createDate;
		this.createUserId = createUserId;
		this.modifyDate = modifyDate;
		this.modifyUserId = modifyUserId;
		this.parentDeptId = parentDeptId;
		this.baseRoles = baseRoles;
	}

	// Property accessors

	public String getDeptId() {
		return this.deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return this.deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptDes() {
		return this.deptDes;
	}

	public void setDeptDes(String deptDes) {
		this.deptDes = deptDes;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public Date getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getModifyUserId() {
		return this.modifyUserId;
	}

	public void setModifyUserId(String modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public String getParentDeptId() {
		return this.parentDeptId;
	}

	public void setParentDeptId(String parentDeptId) {
		this.parentDeptId = parentDeptId;
	}

	public Set getBaseRoles() {
		return this.baseRoles;
	}

	public void setBaseRoles(Set baseRoles) {
		this.baseRoles = baseRoles;
	}

}